package innerclass.Part;

public class Outer {
    private String name;
    private int age;
    private static String gender;

    public void test() {
        name = "furongji";
        age = 18;
        class Inner {
            public void test() {
                System.out.println(name + " " + age + " " + gender);
            }
        }
        Inner inner = new Inner();
        inner.test();
    }

    public static void main(String[] args) {
        Outer outer = new Outer();
        outer.test();
    }
}
